﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Check.aspx.cs" Inherits="KPIS.GERP.GBMS.APP_UI.Check" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script src="../Scripts/jquery-1.9.0.min.js" type="text/javascript"></script>

<!--<script type="text/javascript">
    function OK() {
        alert('555')
    }
</script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#txt1").change(function () {
            alert("OK");
        });
    });
</script> -->

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server"  method="post" onsubmit="chkSubmit();">
    <div>
        <script type="text/javascript">
            function chkSubmit() {
                if (isNaN(document.form1.TextBox1.value)) {
                    alert('Please input Number only.');
                    return false;
                } 
            }
</script>

        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <br />
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
        <br />

        <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click1" />

    </div>
    </form>
    </body>
</html>
